<template>
   <div>
          <h1>{{name}}</h1>
          <p>{{age}}</p>
          <school></school>
        </div>
</template>

<script>
export default {
        data(){
            return{
                name:'张三',
                age:20,
            }
        },
        components:{
            school
        }
    }
</script>

<style>

</style>